import request from '@/utils/request';

// 获取种草
export const getComments = data =>
  request({
    method: 'POST',
    url: '/frontend/article/list',
    data: data,
  });

  // 新增种草
export const addCommentApi = data =>
  request({
    method: 'POST',
    url: '/frontend/article/add',
    data:data,
  });
  // 种草文章详情
export const commentDetail = data =>
  request({
    method: 'POST',
    url: '/frontend/article/detail/',
    data:data,
  });
// 添加 种草评论
export const addComment = data =>
  request({
    method: 'POST',
    url: '/frontend/comment/add/',
    data:data,
  });

  



